package plus.exp;

import java.util.List;

public final class E_MethodCall extends Exp {
	private Exp rec;
	private String name;
	private List<Exp> es;

	public E_MethodCall(Exp rec, String name, List<Exp> es) {
		this.rec = rec;
		this.name = name;
		this.es = es;
	}

	@Override
	public
	void threadScope() {
		throw new java.lang.UnsupportedOperationException("Can't deal with method calls until dynamic dispatch exists.");
	}

	@Override
	String impliedName() {
		return name;
	}

	@Override String aThis() { return "method call '"+name+"'"; }

	@Override
	public
	void compilePush() {
		// TODO Auto-generated method stub

	}

}
